package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysRoleDto;
import com.atguigu.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName: SysRoleMapper
 * @Package: com.atguigu.spzx.manager.mapper
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/4 20:36
 */
public interface SysRoleMapper {
    List<SysRole> selectByPage(SysRoleDto sysRoleDto);

    SysRole selectById(Integer id);

    void insertSysRole(SysRole sysRole);

    void deleteById(Integer id);

    void updateSysRole(SysRole sysRole);
}
